﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<%@ Register Src="~/Views/Home/bookingtool.ascx" TagPrefix="uc1" TagName="bookingtool" %>


<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    预定
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <article id="content">
        <% hotel.BLL.tb_info infobll = new hotel.BLL.tb_info();%>
        <div class="box1">
            <div class="wrapper">
                <uc1:bookingtool runat="server" ID="bookingtool" />
                <div class="col2 pad">
                    <h2>
                        <img src="../../Images/title_marker1.jpg" alt="">让人无法拒绝的选择</h2>
                    <div class="wrapper line1">

                        <%hotel.BLL.View_RoomsType VRBll = new hotel.BLL.View_RoomsType();
                          List<hotel.Model.View_RoomsType> VRmodlist = VRBll.GetModelList("");
                          int i = 1;
                          string Type1 = "col3";
                          foreach(hotel.Model.View_RoomsType VRMod in VRmodlist)
                          {
                              Type1 = "col3 pad_left2";
                              if (i % 2 != 0)
                              {
                                  Type1 = "col3";
                              
                              }                         
                           %>
                       
                        <div class="<%=Type1 %>">
                            <figure class="pad_bot3">
                                <img src="../..<%=VRMod.url %>" alt="">
                            </figure>
                            <p class="pad_bot1"><strong class="color3">房间类型<%=i.ToString() %></strong></p>
                            <p><%=VRMod.typename %></p>
                            <ul class="list2">
                                <li><span><%=VRMod.Price %></span>价格</li>
                                <li><span><%=VRMod.rooms %></span>房间</li>
                                <li><span><%=VRMod.bednum %></span>床位</li>
                            </ul>
                        </div>
                      
                        <%i++;} %>

                    </div>
                </div>
            </div>

        </div>
        <div class="pad">
            <div class="wrapper line3">
                <div class="col2">
                    <h2>预订方式</h2>
                    <p class="pad_bot1"><strong class="color2">请按照如下方式预订房间</strong> </p>
                    <p>
                        <%=infobll.GetModel(20).text %>
                    </p>
                    <div class="wrapper">
                        <figure class="left marg_right1">
                            <img src="../../Images/page3_img3.jpg" alt=""></figure>
                        <p class="pad_bot1"><strong class="color2">请您提供如下信息：</strong></p>
                        <p class="pad_bot2">
                            <%=infobll.GetModel(22).text %>
                        </p>
                    </div>
                    <a href="#" class="button1">更多</a>
                </div>
                <div class="col1 pad_left1">
                    <h2>预订须知</h2>
                    <p class="pad_bot1"><strong class="color2">一帘幽梦酒店</strong></p>
                    <p class="pad_bot1">
                        <%=infobll.GetModel(23).text %>
                    </p>
                </div>
            </div>
        </div>
    </article>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="scriptHolder" runat="server">
    <script type="text/javascript"> Cufon.now(); </script>
</asp:Content>
